scale to fit the dimensions